<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<%
	String path = request.getContextPath();
%>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<script language="javascript" src="<%=path%>/resources/print/LodopFuncs.js"></script> 
<object  id="LODOP_OB" classid="clsid:2105C259-1E0C-4534-8141-A753534CB4CA" width=0 height=0>  
       <embed id="LODOP_EM" type="application/x-print-lodop" width=0 height=0></embed> 
</object>
<style type="text/css">
.itijiao{
	border-right: #7b9ebd 1px solid; 
	padding-right: 2px; 
	border-top: #7b9ebd 1px solid; 
	padding-left: 2px; 
	font-size: 12px; 
	filter: progid:dximagetransform.microsoft.gradient(gradienttype=0, startcolorstr=#ffffff, endcolorstr=#cecfde); 
	border-left: #7b9ebd 1px solid; 
	cursor: hand; 
	color: black; 
	padding-top: 2px; 
	border-bottom: #7b9ebd 1px solid;
	width:80px;
	height:30px
}
</style>
</head>
<body>
<div>
<input class="itijiao" type="button" id="ipreviw" value="打印预览" onclick="javascript:myAddHtml();LODOP.PREVIEW();"/>&nbsp;&nbsp;
<input class="itijiao" type="button" id="idesgin" value="打印设计" onclick="javascript:myAddHtml();LODOP.PRINT_DESIGN();"/> 
</div>
	<div id="fengmianDIV">
		<table width="90%" height="1008" cellpadding="0" cellspacing="0"
			border="1" align="center">
			<tr>
				<td height="227"><div align="center" style="font-size: 37px"><s:property value="report.reportyear"/>
						年度</div>
					<p align="center" style="font-size: 37px"><s:property value="@com.xyz.business.service.impl.ReportHelper@getCompanyByRptTpe(report.reporttype)"/></p>
				</td>
			</tr>
			<tr>
				<td height="241"><p align="center" style="font-size: 37px">工作底稿</p>
					<p align="center" style="font-size: 22px">审查内容：</p>
					<p align="center" style="font-size: 37px"><s:property value="enterprise.censorcontent"/></p></td>
			</tr>
			<tr>
				<td><div align="center" style="font-size: 22px">文号：<s:property value="report.reporttypename"/> 
						字 <s:property value="report.reportyear"/> 第<s:property value="report.reportno"/> 号 第    册 共    册</div></td>
			</tr>
			<tr>
				<td height="373"><p align="center" style="font-size: 22px">委托单位：<s:property value="enterprise.companyname"/></p>
					<p align="right" style="font-size: 22px">项目主办人：<s:property value="@com.xyz.init.infos.UserInfosInit@getName(report.projectleader)"/></p></td>
			</tr>
		</table>
	</div>
<script language="javascript" type="text/javascript">    
function myAddHtml() {       
	LODOP=getLodop(document.getElementById('LODOP_OB'),document.getElementById('LODOP_EM'));         
		LODOP.PRINT_INIT("");		            
	LODOP.ADD_PRINT_HTM(10,55,"100%","100%",document.getElementById("fengmianDIV").innerHTML);	       
};	       
</script>
</body>
</html>